package com.yonyou.pmclouds.statistic.entity;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
public class ActivityCountVO implements Serializable , Comparable<ActivityCountVO>{
    public static String PK_ACTIVITY = "pkActivity";
    public static String ACTIVITY_NAME = "activityName";

    private String pkActivity;
    private String activityName;
    private int billCount;

    @Override
    public int compareTo(ActivityCountVO o) {
        return o.getBillCount() - this.getBillCount();
    }
}
